package com.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@ToString
@Getter
@Setter
public class WeightNode {
    private int id;
    private int pid;
    private String name;
    private double weight;
    private double[] evaluateVector ;
    private List<WeightNode> child;

    public WeightNode (){
        child = new ArrayList<>();
    }

    public WeightNode(int id, int pid, String name,double weight,double []evaluateVector) {
        this();
        this.id = id;
        this.pid = pid;
        this.name = name;
        this.weight = weight;
        this.evaluateVector  = evaluateVector;
    }


}
